package com.woniu113.junk.site.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu113.junk.site.dto.AllFindAllWastePriceDTO;
import com.woniu113.junk.site.dto.FindAllWastePriceDTO;
import com.woniu113.junk.site.dto.WastePriceDTO;
import com.woniu113.junk.site.model.WastePrice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu113.junk.site.param.wasteprice.AddWastePriceParam;
import com.woniu113.junk.site.param.wasteprice.FindAllWastePriceParam;
import com.woniu113.junk.site.param.wasteprice.FindWastePriceByTypeAndCityParam;

import java.lang.ref.PhantomReference;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 蜡笔没了小新
 * @since 2024年10月16日
 */
public interface WastePriceService extends IService<WastePrice> {

    public WastePrice addWastePrice(AddWastePriceParam param, Integer adminId);


    public void updateWastePrice(BigDecimal price, Integer priceId, Integer adminId);

    public void deleteWastePrice(Integer priceId);

    public WastePriceDTO findWastePriceByTypeAndCity(FindWastePriceByTypeAndCityParam param);
    List<WastePrice> findByCStationId(Integer infoStationId);

    AllFindAllWastePriceDTO findAll(FindAllWastePriceParam param, Integer offset);
}
